<!--@if($colorset == "black" || $colorset == "white")-->
    <!--%import("./css/widget.css")-->
<!--@end-->

<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">
    <table class="widgetTableC" border="1" cellspacing="0">
    <tbody>
        <!--@foreach($widget_info->modules as $val)-->
        <tr>
            <td class="docNum">
                <em>{number_format($val->document_count)}</em>
            </td>
            <td class="title">
                <dl>
                    <dt><a href="{getSiteUrl($val->domain,'','mid',$val->mid)}">{$val->title}</a></dt>
                    <dd>{$val->description}</dd>
                </dl>
            </td>
            <td class="lastDoc">
                <!--@if($val->last_item)-->
                    <p>
                    <!--@if($val->last_item->content_type == 'comment')-->
                    <a href="{getSiteUrl($val->domain,'','document_srl',$val->last_item->document_srl)}#comment_{$val->last_item->comment_srl}">{cut_str(strip_tags($val->last_item->content),26,'...')}</a>
                    <!--@else-->
                    <a href="{getSiteUrl($val->domain,'','document_srl',$val->last_item->document_srl)}">{cut_str(strip_tags($val->last_item->title),26,'...')}</a>
                    <!--@end-->

                    <!--@if($val->is_new)--><img src="./img/new.gif" alt="New" width="9" height="9" /><!--@end--></p>
                    <a href="#" class="author member_{$val->last_item->member_srl}">{$val->last_item->nick_name}</a> <span class="time"><span class="date">{zdate($val->last_item->regdate,"Y-m-d")}</span> <span class="hour">{zdate($val->last_item->regdate,"H:i")}</span></span>
                <!--@else-->
                    &nbsp;
                <!--@end-->
            </td>
        </tr>
        <!--@end-->
    </tbody>
    </table>
</div>


